﻿<BaseControl:DialogControl x:Class="jSLApp.Client.Forms.AdministratorAccessRoles"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:BaseControl="clr-namespace:jSLCore.Client.Presentation.BaseControl;assembly=jSLCore.Client.Presentation" xmlns:j="clr-namespace:jSLCore.Client.Presentation.Controls;assembly=jSLCore.Client.Presentation" xmlns:Selection="clr-namespace:jSLCore.Client.Presentation.BaseControl.Selection;assembly=jSLCore.Client.Presentation" xmlns:tk="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Data" mc:Ignorable="d"
    d:DesignHeight="300" d:DesignWidth="400">
    <j:ImageGroupBox Header="Установите флажки ролям, которые будут доступны администратору">
        <Selection:jSLGrid x:Name="grid" IsReadOnly="False">
            <Selection:jSLGrid.Columns>
                <tk:DataGridTextColumn Header="Название" Binding="{Binding Name}" IsReadOnly="True"/>
                <tk:DataGridCheckBoxColumn Header="Доступность администратору" Binding="{Binding AdministratorAccess}"/>
            </Selection:jSLGrid.Columns>
        </Selection:jSLGrid>
    </j:ImageGroupBox>
</BaseControl:DialogControl>
